//-----------------------------------------------------------------------
// <copyright file="a_Surveys_OptionBase.cs" company="AACECOM">
//     Copyright (c) AACECOM. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ThoiTrang.Entities
{
	[Serializable]
	public class a_Surveys_OptionBase
	{
		
		#region Variable Declarations
		private int				id = 0;
		private int				qid = 0;
		private string				respOption = string.Empty;
		private int				respCount = 0;
		private bool				isOtherOption = false;
		#endregion
		
		#region Constructors
		public a_Surveys_OptionBase() {}
		
		public a_Surveys_OptionBase (
			int id,
			int qid,
			string respOption,
			int respCount,
			bool isOtherOption)
		
		{
			this.id = id;
			this.qid = qid;
			this.respOption = respOption;
			this.respCount = respCount;
			this.isOtherOption = isOtherOption;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ID
		{
			get { return id; }
			set { id = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int QID
		{
			get { return qid; }
			set { qid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string RespOption
		{
			get { return respOption; }
			set { respOption = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int RespCount
		{
			get { return respCount; }
			set { respCount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsOtherOption
		{
			get { return isOtherOption; }
			set { isOtherOption = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum a_Surveys_OptionColumns
	{
		ID,
		QID,
		RespOption,
		RespCount,
		IsOtherOption
	}//End enum
}